
#ifndef _MESSAGEWIDGET_H_
#define _MESSAGEWIDGET_H_

#include "WidgetsApi.hpp"
#include "../OLCore/AbstractDockWidget.hpp"
#include "../OLCore/AbstractTableWidget.hpp"


namespace NSWidgets {

    class MessageBrowser;

    class WIDGETSAPI MessageWidget :
        public NSCore::AbstractDockWidget
    {
        Q_OBJECT
    protected:
        MessageBrowser* m_logwidget{};
    private:

    public slots:
        void putMessage(QString _message, int _type = 0);


    public:
        MessageWidget(QWidget* w = nullptr);
        ~MessageWidget();

    public: /*override*/
        virtual inline QString className() override { return "MessageWidget"; };

    };

}

#endif
